//
//  NAImageView.h
//  NewApp
//
//  Created by  on 12-6-15.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageLoadingOperation.h"
#import "NAImage.h"

//@protocol NAImageViewDelegate <NSObject>
//@optional
///**
// *  NAImageView did pressed
// */
//- (void) NAImageViewDidPressedWithNAImage:(NAImage *) image;
//
//@end

@interface NAImageView : UIButton<ImageLoadingDelegate> {
    NAImage                     *naImage;
    //id<NAImageViewDelegate>     delegate;
}

@property (nonatomic, retain) NAImage       *naImage;
//@property (nonatomic, assign) id            delegate;

/**
 *  Imageloading callback
 */
- (void)didLoadImage:(NSURL *)imageURL Image:(UIImage *)image;
@end
